<?php
/**
 * Created by PhpStorm.
 * User: miidi
 * Date: 2018/9/27
 * Time: 11:55
 */

namespace app\wx\model;


use think\Model;

class Collection extends Model
{
  protected $autoWriteTimestamp = 'datetime';
  public function house()
  {
    return $this->belongsTo('House', 'lookHouseid', 'id');
  }
}